
# -*- coding: cp1252 -*-
#########################################################
#                                                       #
# Classe Gerada pelo PyGenerator - Gets e Sets v. 1.0   #
# Criado por Raphoka e Amigos                           #
#                                                       #
#########################################################

class Produto:

#####################
# -- CONSTRUTOR --  #
#####################

    def __init__(self, Nome, Qtd, QtdMinima = '', Codigo = ''):
        self.__Nome = Nome
        self.__Qtd = Qtd
        self.__QtdMinima = QtdMinima
        self.__Codigo = Codigo

######################
# -- GETS E SETS --  #
######################

    def GetNome(self):
        return self.__Nome
    def SetNome(self, Nome):
        self.__Nome = Nome

        
    def GetQtd(self):
        return self.__Qtd
    def SetQtd(self, Qtd):
        self.__Qtd = Qtd

        
    def GetQtdMinima(self):
        return self.__QtdMinima
    def SetQtdMinima(self, QtdMinima):
        self.__QtdMinima = QtdMinima

        
    def GetCodigo(self):
        return self.__Codigo
    def SetCodigo(self, Codigo):
        self.__Codigo = Codigo

        

#################
# -- METODOS -- #
#################

    def __str__(self):
        m = '''

Objeto tipo: Produto

Atributos:

Codigo: %s
Nome: %s
Quantidade atual: %s
Quantidade Minima: %s
'''%(self.__Codigo, self.__Nome, self.__Qtd, self.__QtdMinima)
        return m
